[% if count($orderlist) > 0 %]
[%forlist from=$orderlist key=i%]
-
Order No.:
[%$orderlist[i].ordersn%]
Order time:
[%$orderlist[i].addtime%]
Order Amount:
¥[%$orderlist[i].orderamount%]
-
Order No.:
[%if $orderlist[i].ordertype==1 %]Unpaid[%/if%]
[%if $orderlist[i].ordertype==2 %]Being processed[%/if%]
[%if $orderlist[i].ordertype==0 %]Has been canceled[%/if%]
[%if $orderlist[i].ordertype==3 %]Have a refund[%/if%]
[%if $orderlist[i].ordertype==4 %]Has returned[%/if%]
[%if $orderlist[i].ordertype==5 %]Shipped[%/if%]
[%if $orderlist[i].ordertype==6 %]Has been completed[%/if%]
View
[%if $orderlist[i].ordertype==1%]
Cancel Order
[%/if%]
[%/forlist%]
[%else%]
You do not have orders!
[%/if%]